import {
  MALL_MANAGEMENT_TITLE,
  GOODS_STATUS,
  BOOK_DETAIL,
  BOOK_LOADING
} from './MallManagementActionTypes'

export const mall_titleChangeToStore = (mall_title) => ({
  type: MALL_MANAGEMENT_TITLE,
  mall_title
})

export const changeGoodsStatus = (goods_status) => ({
  type: GOODS_STATUS,
  goods_status
})

export const detailData = (book_detail) => ({
  type: BOOK_DETAIL,
  book_detail
})

export const changeBookLoading=(book_loading) => ({
  type:BOOK_LOADING,
  book_loading
})